<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateNdMBankTable extends Migration
{
	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		// Create the `Bank` table
		Schema::create('nd_m_bank', function(Blueprint $table)
		{
            $table->increments('id');
            $table->string('name', 80);
            $table->boolean('main_flag');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        // Delete the `Bank` table
        Schema::drop('nd_m_bank');
    }
}
